package com.sy.entity;

import java.util.List;

//作业id对应的题目的实体类
public class ChoiceQuestion {
    private Integer id;
    private String questions;
//    题号对应的四个选择的内容和id所在的集合
    private List<Choice> choices;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getQuestions() {
        return questions;
    }

    public void setQuestions(String questions) {
        this.questions = questions;
    }

    public List<Choice> getChoices() {
        return choices;
    }

    public void setChoices(List<Choice> choices) {
        this.choices = choices;
    }

    @Override
    public String toString() {
        return "ChoiceQuestion{" +
                "id=" + id +
                ", questions='" + questions + '\'' +
                ", choices=" + choices +
                '}';
    }
}
